<?php 
require_once('Admin/Common/template/inc_admin.php');
?>

<div id="content">
  <div class="inner" style="min-height:1200px;">

    <div align=center>
      <h1 style="text-align:center">
        注册用户</h1> 
        <div class="container-fluid control-label  col-md-12 ">

          <form method=post action="admin.php?c=user&m=add" enctype="multipart/form-data" class="form-horizontal">
            <div class="form-group">
              <label for="exampleInputUserName1" class=" control-label col-sm-offset-2 col-md-2 ">姓名：</label>
              <div class=" col-md-4" >
                <input type="text" name="uname" class="form-control" id="exampleInputUserName1" >
              </div>  
            </div>
            <div class="form-group">
              <label for="exampleInputPassword1" class=" control-label col-sm-offset-2 col-md-2 " >密码：</label>
              <div class="col-md-4" >
                <input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="123456" required>
              </div>  
            </div>
            <div class="form-group">
              <label class="col-md-2 col-sm-offset-2 control-label" >性别：</label>
              <div class="col-md-4" >
                <label class="radio-inline">
                  <input type="radio" name="gender" value="0" >男
                </label>
                <label class="radio-inline">
                  <input type="radio" name="gender" value="1" >女
                </label>
              </div>  
            </div>
            <div class="form-group">
              <label for="exampleInputDate1" class="col-md-2 col-sm-offset-2 control-label" >生日：</label>
              <div class="col-md-4" >
                <input type="date" name="birthdate" class="form-control" id="exampleInputDate1" >
              </div>  
            </div> 
            <div class="form-group">
              <label class="col-md-2 col-sm-offset-2 control-label">爱好：</label>
              <div class="col-md-4">
                <label class="checkbox-inline">
                  <input type="checkbox" name="hobby[]" value="旅游" >旅游
                </label>
                <label class="checkbox-inline">
                  <input type="checkbox" name="hobby[]" value="登山" >登山
                </label>
                <label class="checkbox-inline">
                  <input type="checkbox" name="hobby[]" value="健身">健身
                </label>
                <label class="checkbox-inline">
                  <input type="checkbox" name="hobby[]" value="上网" >上网
                </label>
                <label class="checkbox-inline">
                  <input type="checkbox" name="hobby[]" value="游泳" >游泳
                </label>
              </div>  
            </div> 
            <div class="form-group">
              <label class="col-md-2 col-sm-offset-2 control-label" >学历：</label>
              <div class="col-md-4" >
                <select class="form-control" name="degree">
                  <option value="0" >请选择</option>
                  <option value="1" >高中</option>
                  <option value="2" >大学</option>
                  <option value="3">研究生</option>
                  <option value="4" >博士生</option>
                </select>
              </div>  
            </div>
            <div class="form-group">
              <label for="exampleInputTextarea1" class="col-md-2 col-sm-offset-2 control-label">自我介绍：</label>
              <div class="col-md-4" >
                <textarea class="form-control" id="exampleInputTextarea1" name="intro" cols="40" rows="5"></textarea>
              </div>  
            </div>

            <<div class="form-group">
            <label for="exampleInputFile" class="col-md-2 col-sm-offset-2 control-label">头像：</label>
            <div class="col-md-4" >
              <input type="file" name="pic" id="exampleInputFile" required>
            </div>  
          </div>
          <div class="form-group">
            <div class="col-sm-offset-5 col-sm-4" >
              <input type="submit" class="btn btn-success" value="提交">
             <input type="reset" class="btn btn-danger col-sm-offset-4" value="重置">
            </div>  
          </div>
        </form>
      </div>
    </div>      
  </div>  
</div>  
     